<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <?php require("../viewer/vLayoutHead.php"); ?>
    </head>
    <body>
        <?php
        session_start();
        if (isset($_SESSION['usuario']))
            header("Location: ../viewer/vAdmin.php");
        ?>

        <?php require("../viewer/vLayoutBody.php"); ?>

        
        <div id="side-col">
            <br></br>
            <form action="../controller/cLogin.php" method="POST">
                <center>
                    <field id="inputs">
                        <p><input id="login" name="login" type="text" placeholder="Usuário" required autofocus/></p>
                        <p><input id="pass" name="password" type="password" placeholder="Senha" required/></p>
                    </field>
                    <button class="button black bigrounded">Entrar</button>
                </center>
            </form>
           
            <br></br><br></br>
        </div>
    </body>
    <footer>
        <?php require("../viewer/vLayoutFooter.php"); ?>
    </footer>
</html>